<template>
  <div>
    <div>
      <h4>手的实用性评定</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <div>
            <span>患者手功能能力 </span>
            <el-select v-model="pgForm.hand_practical" placeholder="请选择" style="width: 20%">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "hand_practical",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        hand_practical: '',
      },
      options: [{
        value: '0',
        label: '请选择',
      }, {
        value: '1',
        label: '废用手',
      }, {
        value: '2',
        label: '辅助手C',
      }, {
        value: '3',
        label: '辅助手B',
      }, {
        value: '4',
        label: '辅助手A',
      }, {
        value: '5',
        label: '实用手B',
      }, {
        value: '6',
        label: '实用手A',
      }],
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}
</style>
